#pragma once

#include <iostream>

struct Location {
    int line;
    int column;
    Location() : Location(1, 1) {}
    Location(int line, int column) : line(line), column(column) {}
    friend std::ostream& operator<<(std::ostream& out, const Location& loc) {
        out << "line " << loc.line << ", column " << loc.column;
        return out;
    }
};
